package com.ita.os.merchant.service;

import com.ita.os.merchant.exception.UserExistException;
import com.ita.os.merchant.po.Merchant;

public interface MerchantService {
	public Merchant findMerchant(String mname,String password);
	
	public int addMerchant(Merchant merchant) throws UserExistException;
	public int updateMerchant(Merchant merchant);
	public Merchant findByName(String mname);
}
